package io.aircraft.modules.wms.dao;

import io.aircraft.common.dao.BaseDao;
import io.aircraft.modules.wms.entity.stored.ProcCallbackEntity;
import io.aircraft.modules.wms.entity.TrkPostEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设备任务
 *
 * @author Cycle gengruyi01@163.com
 * @since 1.0.0 2022-10-21
 */
@Mapper
public interface TrkPostDao extends BaseDao<TrkPostEntity> {
    /**
     * wcs系统任务完成后的回调
     * @param parameters 主要参数
     */
    void proc_callbackByDevice(@Param("parameter") ProcCallbackEntity parameters);

    int batchInsert(List<TrkPostEntity> trkList);
}